package com.cj.config;

import com.cj.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Scope;

/**
 * @author cc
 * @date 2025-05-12 13:18
 **/

public class JavaConfig {

    @Bean
    @Scope("prototype")
    User user(){
        return new User();
    }
}
